ModifyRiskSingleResultStatus
Description
call the ModifyRiskSingleResultStatus interface to modify the state of the asset affected by the check item, and support ignoring or canceling ignoring.
Request Method
POST
Request Path
/apsara/route/Sas/ModifyRiskSingleResultStatus
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| Status | BODY | string | No | ignored | check items affect the processing status of assets. Valid values include: ignored: Ignore failed: cancel ignoring |
| TaskId | BODY | long | Yes | 57 | the check item affects the ID of the check task to which the asset belongs. |
| SourceIp | BODY | string | No | 1.2.3.4 | access source IP address. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| Lang | BODY | string | No | zh | the language type of the request and receive message. zh: Chinese en: English |
| Ids.N | BODY | repeatlist | No | 1 | check the ID of the asset. |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | 3B3F3A90-46A5-4023-A2D8-D68B14262F96 | request ID. |
Example
Successful Response example
{
"RequestId":"3B3F3A90-46A5-4023-A2D8-D68B14262F96"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}